package com.darly.book.presenter.contract;

import com.darly.book.ui.base.BaseContract;
import com.darly.chinese.db.book.table.CollBookBean;

import java.util.List;


public interface BookShelfContract {

    interface View extends BaseContract.BaseView {
        void finishRefresh(List<CollBookBean> collBookBeans);

        void finishUpdate();

        void showErrorTip(String error);
    }

    interface Presenter extends BaseContract.BasePresenter<View> {

        void testService();

        void refreshCollBooks();

        void createDownloadTask(CollBookBean collBookBean);

        void updateCollBooks(List<CollBookBean> collBookBeans);

        void loadRecommendBooks(String gender);
    }
}
